package com.alibaba.citrus.ots.unified.inventory.repository;

import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.otsunifiedinventory.sdo.AllocateRelationSDO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: 王成
 * @date:
 **/
@Component
public interface AllocateRelationReadRepository {
    PageResult<List<AllocateRelationSDO>> queryPageList(AllocateRelationSDO allocateRelationSDO);

    Result<Boolean> checkExist(AllocateRelationSDO allocateRelationSDO);

}
